home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3863 / 3863.xpi / chrome / imacros.jar / content / edit.xul < prev    next >
Extensible Markup Language  |  2009-07-03  |  3KB  |  81 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://imacros/skin/imacros.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog [
  7.   <!ENTITY % imacrosDTD SYSTEM "chrome://imacros/locale/labels.dtd">
  8.   %imacrosDTD;
  9.   <!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd"> 
  10.   %textcontextDTD;
  11. ]>
  12.  
  13. <dialog id="imacros-editor"
  14.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15.         height="580" width="750"
  16.         minheight="400" minwidth="400"
  17.         persist="width height"
  18.         buttons="extra1,cancel"
  19.         buttonlabelextra1="Save & Close"
  20.         ondialogcancel="return cancel();"
  21.         ondialogextra1="saveAndQuit()"
  22.         style="padding: 0px;">
  23.   <script type="application/x-javascript"
  24.           src="chrome://imacros/content/utils.js" />
  25.   <script type="application/x-javascript"
  26.           src="chrome://imacros/content/edit.js"/>
  27.   
  28.   <tooltip id="html-tooltip"
  29.            onpopupshowing="return showHTMLTooltip(document.tooltipNode);" />
  30.  
  31.   <menupopup id="copy-paste-menu"
  32.              onpopupshowing="Editor.onContextShowing()">
  33.     <menuitem id="context-cut"
  34.               label="&cutCmd.label;"
  35.               accesskey="&cutCmd.accesskey;"
  36.               oncommand="Editor.cut();"/>
  37.     <menuitem id="context-copy"
  38.               label="©Cmd.label;"
  39.               accesskey="©Cmd.accesskey;"
  40.               oncommand="Editor.copy();"/>
  41.     <menuitem id="context-paste"
  42.               label="&pasteCmd.label;"
  43.               accesskey="&pasteCmd.accesskey;"
  44.               oncommand="Editor.paste();"/>
  45.     
  46.   </menupopup>
  47.   
  48.   <box flex="1" style="padding: 0px; margin: 0px">
  49.     <iframe id="editbox" flex="1" tooltip="html-tooltip"
  50.             context="copy-paste-menu"
  51.             src="chrome://imacros/content/editor/editarea/imacro.html"/>
  52.   </box>
  53.   
  54.   <hbox align="center">
  55.     <spacer id="spacer" width="1"/>
  56.     <box flex="1" pack="center">
  57.       <button dlgtype="extra1"/>
  58.       <button dlgtype="cancel"/>
  59.     </box>
  60.     <button id="help-button" label="Help" type="menu">
  61.       <menupopup position="before_end">
  62.         <menuitem label="iMacros Wiki" class="text-link"
  63.                   oncommand="window.open('http://wiki.imacros.net/')"/>
  64.         <menuitem label="Command Reference" class="text-link"
  65.                   oncommand="window.open('http://wiki.imacros.net/Command_Reference')"/>
  66.         <menuitem label="iMacros Password Tool" class="text-link"
  67.                   oncommand="window.open('http://www.iopus.com/imacros/support/passwordtool/')"/>
  68.         <menuitem label="Javascript Scripting" class="text-link"
  69.                   oncommand="window.open('http://www.iopus.com/imacros/home/fx/rd.asp?helpid=imacrosfxjs')"/>
  70.         <menuitem label="AlertFox Wiki" class="text-link"
  71.                   oncommand="window.open('http://www.iopus.com/imacros/home/fx/rd.asp?helpid=alertfoxwiki')"/>
  72.         <menuitem label="AlertFox - Add iMacros Sensor" class="text-link"
  73.                   oncommand="window.open('http://www.iopus.com/imacros/home/fx/rd.asp?helpid=alertfoxaddsensor')"/>
  74.       </menupopup>
  75.     </button>
  76.   </hbox>
  77.   
  78.  
  79. </dialog>
  80.  
  81.